.slider {
    flex: 1;
}

.form {
    padding-right: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}